home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
015a
/
onceaday.zip
/
ONCEADAY.DOC
next >
Wrap
Text File
|
1991-07-08
|
3KB
|
96 lines
ONCEADAY
Version 1.0
Copyright (c) 1991 Mark Klaamas
This program is used to run certain commands only once a day.
Just place it in your autoexec.
----------------------------------------------------------------
Example Autoexec.bat
@ECHO OFF
SET COMSPEC=C:\COMMAND.COM
PATH=c:\;c:\dos;c:\util;
PROMPT= $l$l $p $g$g $e[0;31;0m
:: Call Once a Day program with name of program to run it true.
onceaday
if Errorlevel 10 goto onceday
:Return
:: Load in a murphy law !!
cls
murf c:\util\
echo
echo
pause
goto end
:: End of Autoexec.bat file.
:: A routine to run ONCE A DAY.
:onceday
:: Things do do once a day.
cls
echo This appears only once a day.
goto Return
:end
end autoexec.bat
----------------------------------------------------------------
You could set up a second batch file with the commands you would
like to run.
For example
Autoexec.bat
@ECHO OFF
SET COMSPEC=C:\COMMAND.COM
PATH=c:\;c:\dos;c:\util;
PROMPT= $l$l $p $g$g $e[0;31;0m
:: Call Once a Day program with name of program to run it true.
onceaday
if Errorlevel 10 Call onceaday.bat
:: Continue with autoexec.bat
end autoexec.bat
onceaday.bat
@echo off
:: Things to do once a day.
echo this only showes up once a day.
end onceaday.bat
----------------------------------------------------------------
This program is FREEWARE. This means that it can be freely use
and giving away this program. You can NOT modify the contents of
the zip file or give away only parts of the zip file. You must
distribute the entire zip file.
If you would like to donate money for using the use of this
program you can send any money to:
Mark Klaamas
13 Apollo Court
Halifax, NS
Canada
B3M 1G9
The Turbo Pascal source code for this program is available from
me at the price of $10.00. If you want a copy of the source
code, please send money and a disk in a self addressed stamped
floppy mailer to a address above.
If you have any question about the use of this program I can be
contacted on various BBS networks ( NA-NET, Ilink, UNI'net ). Or
you can send me a letter at the address above.